<?php
use think\facade\Route;
Route::group('zmt',function () {
    Route::post('register', 'api/app/Users/register');
    Route::post('login', 'api/app/Users/login');
    Route::post('code', 'api/app/Users/sendSmsCode');
    Route::get('getUserList','api/app/Users/getUserList');
    Route::post('addImage','api/app/Users/addImage');
    Route::post('editUser','api/app/Users/editUser');
    //收货信息
    Route::get('address','app/Dz/getAddressList');
    //添加收货信息
    Route::post('add','app/Dz/addAddress');
    //编辑收货信息
    Route::post('edit','app/Dz/editAddress');
});
Route::group('money',function () {
    Route::post('add', 'app/Wallet/addWallet');
    Route::post('report', 'app/Wallet/walletCx');
});
// 支付
Route::group('order',function (){
    Route::post('Md','app/Md/order');
    Route::post('Zf','app/Zf/walletPay');
    Route::post('wuLiu','app/Md/wuLiu');
})->middleware(\api\app\middleware\CheckToken::class);